FROM ondh/nginx-fancyindex:latest
COPY http.d/ /etc/nginx/http.d/
COPY --chmod=777 entrypoint.sh / 
RUN mkdir /data ; chown -R nginx:nginx /data ;rm -rf /etc/nginx/http.d/default.conf
ENTRYPOINT ["/entrypoint.sh"]
